auto merge of #389 : alexcrichton/cargo/dev-dependency-lockfile, r=wycats
authorbors <bors@rust-lang.org>
Tue, 19 Aug 2014 05:56:43 +0000 (05:56 +0000)
committerbors <bors@rust-lang.org>
Tue, 19 Aug 2014 05:56:43 +0000 (05:56 +0000)
commit6a55dc850b46982b939f4882b6311b6a19fe6aad
tree8f591b5abc8cd9b69e251e36c1f701b6c427f739
parent96978479359d3ce7edfc5a877677869af1af5fa3
parent8626fa725dbf72efbd936c7290a089f70a775a83
auto merge of #389 : alexcrichton/cargo/dev-dependency-lockfile, r=wycats

Previously an invocation of `cargo build` would generate a lockfile *without*
dev dependencies, but an invocation of `cargo test` would generate a lockfile
*with* dependencies. This causes odd problems and diffs with the lockfile.

This commit switches the resolve-to-be-a-lockfile to using all dependencies of a
package, while the resolve-to-be-compiled continues to use just the dependencies
needed for the current build.